Skip to content

Conversation

kadiwa4
Copy link

@kadiwa4 kadiwa4 commented Jan 12, 2025

Fixes #589. RefCell's interface cannot be soundly used for this purpose because libcurl needs a long-lived mutable pointer to the error buffer.

For users, this PR should not have any visible effect except for slight changes in performance perhaps. The auto trait implementations (Send/!Sync/Freeze) of Easy2 do not change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementation of the error buffer in Easy2 is unsound
1 participant